<section class="instructions">
  <h1>Install Homebrew</h1>
  <ol>
    <li>
      In your terminal type
    </li>
      <pre><code>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"</code></pre>

     <div class="row">
      <div class="col-sm-12 note">
          <b>Note:</b> If this doesn’t work, <%= link_to "go here", "https://github.com/Homebrew/brew/blob/master/docs/Installation.md" %> and follow the instructions
      </div>
     </div>
    <li>
      To verify your installation, enter the following in your terminal:
    </li>
      <pre><code>brew -v</code></pre>
      <p>Approximated result</p>
      <pre style="margin-bottom: 3em;"><code>Homebrew 2.x.x</code></pre>
    <li>
      To make sure Homebrew is feeling alright, type:
   </li>
   <pre style="margin-bottom: 3em"><code>brew doctor</code></pre>
   <p>If it asks you to run brew update, do so.</p>
    <div class="row">
      <div class="col-sm-12 note">
        <p>
          If it returns:<br><span style="color: black;">“No such file or directory - /usr/local/Cellar”</span><br>You should type and enter:
        </p>
       <pre style="margin-bottom: 3em"><code>cd
sudo mkdir /usr/local/Cellar</code></pre>
        <p>Enter your login password and press enter <i>(you won’t be able to see it)</i></p>
      </div>
    </div>
  </ol>
</section>

<%= render 'layouts/step_navigation' %>

<div id="trouble" class="collapse out note">
  <%= render 'layouts/disqus' %>
</div>
